﻿<%@ Page Language="C#" ValidateRequest="false" Theme="WebMaster" AutoEventWireup="true" MasterPageFile="~/WebMaster/MasterPage.master" CodeFile="BangGiaVang.aspx.cs" Inherits="webapp4U.UI.Address" %>
<%@ Import Namespace="webapp4U" %>
<%@ Register TagPrefix="webapp4U" Namespace="webapp4U.UI" %>


<asp:Content ContentPlaceHolderID="PageContent" runat="server">
  <table border="0" align="center">
    <tr>
        <td style="padding-top:15pt; padding-bottom:10pt; text-transform:uppercase; color:Red;font-weight:bold" align="center">
            <b><asp:Label runat="server" ID="lblTitle"></asp:Label></b>
    
        </td>
    </tr>
    <tr>
        <td align="center">
                <asp:Label Font-Bold="true" ForeColor="blue" runat="server" ID="lblMsg"></asp:Label>
        </td>
    </tr>
    <tr>
        <td align="center">
            <asp:GridView runat="server" Width="100%" HorizontalAlign="Center" 
                ID="GridViewItem" 
                AutoGenerateColumns="false" 
                RowStyle-Font-Bold="true"  
                AllowPaging="True" 
                AllowSorting="True" 
                PagerSettings-Mode="NumericFirstLast"
                GridLines="none">
                <Columns>
                    <asp:TemplateField ItemStyle-HorizontalAlign="Center" ItemStyle-Width="80px" HeaderStyle-Width="80px"
                        HeaderText="Delete">
                        <HeaderTemplate>Vàng</HeaderTemplate>
                        <ItemTemplate>
                            <asp:TextBox runat="server" Width="80" ID="txtVangID" Text='<%# Eval("VangID") %>'></asp:TextBox>
                        </ItemTemplate>
                    </asp:TemplateField>
                    
                    <asp:TemplateField ItemStyle-HorizontalAlign="Center" ItemStyle-Width="80px" HeaderStyle-Width="80px"
                        HeaderText="Delete">
                        <HeaderTemplate>Mua vào</HeaderTemplate>
                        <ItemTemplate>
                            <asp:TextBox runat="server" Width="80" ID="txtMuavao" Text='<%# Eval("Muavao") %>'></asp:TextBox>
                        </ItemTemplate>
                    </asp:TemplateField>
                    
                    <asp:TemplateField ItemStyle-HorizontalAlign="Center" ItemStyle-Width="80px" HeaderStyle-Width="80px"
                        HeaderText="Delete">
                        <HeaderTemplate>Bán ra</HeaderTemplate>
                        <ItemTemplate>
                            <asp:TextBox runat="server" Width="80" ID="txtBanra" Text='<%# Eval("Banra") %>'></asp:TextBox>
                        </ItemTemplate>
                    </asp:TemplateField>
                   
                </Columns>
                <EmptyDataTemplate>
                    <table align="center" width="100%" border="0" bgcolor="#ffffcc" bordercolorlight="#0099cc"  bordercolor="#0099cc">
                        <tr>
                            <td height="50" align="center">
                                <div align="center" id="EmptyData">Danh mục rỗng...</div>
                            </td>   
                        </tr>
                    </table>
                </EmptyDataTemplate>
            </asp:GridView>            
        </td>
    </tr>
    
    <tr>
        <td align="right">
            <asp:Button runat="server" ID="btSave" Text=" Save " OnClick="btSave_Click" />
        </td>
    </tr>
</table>                
</asp:Content>